package com.jianganming.proxy.myproxy;

public class Zhanglaoshi implements Teacher,Paly {
    @Override
    public void teach(String name, int age) {
        System.out.println("姓名："+name);
        System.out.println("年龄："+age);
    }

    @Override
    public int getAge() {
        return 18;
    }

    @Override
    public void each() {
        System.out.println("吃饭");
    }

    @Override
    public void paly() {
        System.out.println("完蛋了");
    }
}
